import request from '@/utils/request'
// 分页查询
export function query(data) {
  return request({
    url: `/md/monopy/qualityPlans/selectQualityPlanPage`,
    method: 'post',
    data
  })
}
// 保存
export function save(data) {
  return request({
    url: `/md/monopy/qualityPlans/saveQualityPlan`,
    method: 'post',
    data
  })
}
// 创建计划
export function getNewCode() {
  return request({
    url: `/md/monopy/qualityPlans/getNewsNumber`,
    method: 'get'
  })
}
